<?php
require_once __DIR__ . '/common/common.php';
$login_name=$_POST['dlm'];
$phone=$_POST['sj'];
$mailbox=$_POST['yx'];
$role=$_POST['se'];
$data=mysqli_query($mysql,"SELECT * FROM users_login ");
$arr=array();
while (mysqli_fetch_assoc($data))
{
    $arr[]=mysqli_fetch_assoc($data);
}
echo json_encode($arr);
mysqli_free_result($data);
/*$att=array();
foreach ($arr as $value)
{
    for ($a=0;$a<count($value);$a++)
    {
        echo $value['login_name'].'>>>,';
        if (strpos($value['login_name'],$login_name)!==false)
        {
            $att[]=$value;
        }
    }
}*/
//strstr($email, '@');
//var_export($att);
